home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / µSim 1.1 / source / CommonC.r < prev    next >
Encoding:
Text File  |  1997-05-25  |  1.3 KB  |  67 lines  |  [TEXT/CWIE]

  1. /*
  2. Copyright © 1993-1997 by Fabrizio Oddone
  3. ••• ••• ••• ••• ••• ••• ••• ••• ••• •••
  4. This source code is distributed as freeware: you can copy, exchange, modify this
  5. code as you wish. You may include this code in any kind of application: freeware,
  6. shareware, or commercial, provided that full credits are given.
  7. You may not sell or distribute this code for profit.
  8. */
  9.  
  10. #define SystemSevenOrLater 1
  11.  
  12. #include "SysTypes.r"
  13. #include "Types.r"
  14.  
  15. #include    "SimResIDs.h"
  16.  
  17. /*
  18. resource 'SIZE' (-1, purgeable) {
  19.     reserved,
  20.     acceptSuspendResumeEvents,
  21.     reserved,
  22.     canBackground,
  23.     doesActivateOnFGSwitch,
  24.     backgroundAndForeground,
  25.     dontGetFrontClicks,
  26.     ignoreChildDiedEvents,
  27.     is32BitCompatible,
  28.     isHighLevelEventAware,
  29.     localAndRemoteHLEvents,
  30.     isStationeryAware,
  31.     dontUseTextEditServices,
  32.     reserved,
  33.     reserved,
  34.     reserved,
  35.     311296,
  36.     278528
  37. };
  38. */
  39.  
  40. resource 'STR ' (kSTR_PREFSFILENAME, purgeable, preload) {
  41.     "µSimulator Prefs"
  42. };
  43.  
  44. data 'HAND' (kIllegalHandlerCode, purgeable, preload) {
  45.     $"E400"
  46. };
  47.  
  48. resource 'nrct' (128, locked, preload) {
  49.     {    /* array RectArray: 5 elements */
  50.         /* [1] */
  51.         {155, 451, 177, 485},
  52.         /* [2] */
  53.         {250, 258, 272, 486},
  54.         /* [3] */
  55.         {7, 70, 271, 244},
  56.         /* [4] */
  57.         {7, 5, 271, 52},
  58.         /* [5] */
  59.         {219, 257, 170, 430}
  60.     }
  61. };
  62.  
  63. resource 'open' (128) {
  64.     'µSIM', { 'µPRG', 'sPRG', 'µRAM', 'µREG', 'TEXT' }
  65. };
  66.  
  67.